package bm.com.framework.common.resp;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class PageVO<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 总数
     */
    private int count;

    /**
     * 列表
     */
    private List<T> list;

    public PageVO(int total, List list){
        this.list = list;
        this.count = total;
    }
}
